<?php
class projectModel extends Model
{

    protected $_validate = array(
        array("price", "currency", "合同价格不能为空,并保证格式的正确"),
        array("content", "require", "请填写工程资料"),
    );

}

?>